<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>作业-固定定位练习</title>
  <style>
    .w {
      width: 800px;
      height: 1500px;
      margin: 0 auto;
      background-color: pink;
    }
    .ad {
      position: fixed;
      bottom: 0;
      left: 0;
    }
  </style>
</head>
<body>
  <div class="w"></div>
  <div class="ad">
    <img src="images/sina-news.jpg" alt="">
  </div>
  <div></div>
</body>
</html>